#pragma once

//#include "OpenGL.h"

namespace PhysicsSimulatorSE3 {

	using namespace System;
	using namespace System::ComponentModel;
	using namespace System::Collections;
	using namespace System::Windows::Forms;
	using namespace System::Data;
	using namespace System::Drawing;

	/// <summary>
	/// Summary for Form1
	/// </summary>
	public ref class Form1 : public System::Windows::Forms::Form
	{
	public:
		Form1(void)
		{
			InitializeComponent();
			//
			//TODO: Add the constructor code here
			//
			////OpenGL = gcnew COpenGL(this, 640,480);
		}

	protected:
		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		~Form1()
		{
			if (components)
			{
				delete components;
			}
		}
	private: System::Windows::Forms::PictureBox^  pictureBox1;
	protected: 
	private: System::Windows::Forms::MenuStrip^  menuStrip1;
	private: System::Windows::Forms::ToolStripMenuItem^  fileToolStripMenuItem;
	private: System::Windows::Forms::TabControl^  SimulationTabs;
	private: System::Windows::Forms::TabPage^  PageBball;



	private: System::Windows::Forms::TabPage^  tabPage2;
	private: System::Windows::Forms::Button^  BtnRunSimBball;

	private: System::Windows::Forms::Panel^  AssignmentPanel;

	private: System::Windows::Forms::Label^  label1;
	private: System::Windows::Forms::ToolStripMenuItem^  newSimulationToolStripMenuItem;
	private: System::Windows::Forms::ToolStripMenuItem^  openSimulationToolStripMenuItem;
	private: System::Windows::Forms::ToolStripMenuItem^  assignmentsToolStripMenuItem;
	private: System::Windows::Forms::ToolStripMenuItem^  showAssignmentsToolStripMenuItem;
	private: System::Windows::Forms::ComboBox^  ComboBoxAssignments;
	private: System::Windows::Forms::RichTextBox^  richTextBox1;
	private: System::Windows::Forms::ToolStripMenuItem^  logInToolStripMenuItem;
	private: System::Windows::Forms::ToolStripMenuItem^  saveSimulationToolStripMenuItem;
	private: System::Windows::Forms::ToolStripMenuItem^  sToolStripMenuItem;
	private: System::Windows::Forms::ToolStripMenuItem^  savingSettingsToolStripMenuItem;
	private: System::Windows::Forms::ToolStripMenuItem^  closeToolStripMenuItem;
	private: System::Windows::Forms::Button^  BtnRunSimTwoPoint;
	private: System::Windows::Forms::NumericUpDown^  numericUpDown3;
	private: System::Windows::Forms::NumericUpDown^  numericUpDown2;
	private: System::Windows::Forms::NumericUpDown^  numericUpDown1;
	private: System::Windows::Forms::Label^  label4;
	private: System::Windows::Forms::Label^  label3;
	private: System::Windows::Forms::Label^  label2;
	private: System::Windows::Forms::Panel^  ResultsPanel;
	private: System::Windows::Forms::RichTextBox^  ResultsTextBox;
	private: System::Windows::Forms::Label^  ResultsLabel;
	private: System::Windows::Forms::OpenFileDialog^  openFileDialog1;
	private: System::Windows::Forms::SaveFileDialog^  saveFileDialog1;


	private:
		/// <summary>
		/// Required designer variable.
		/// </summary>
		//OpenGLForm::COpenGL ^ OpenGL;
		System::ComponentModel::Container ^components;

#pragma region Windows Form Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		void InitializeComponent(void)
		{
			this->pictureBox1 = (gcnew System::Windows::Forms::PictureBox());
			this->menuStrip1 = (gcnew System::Windows::Forms::MenuStrip());
			this->fileToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->newSimulationToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->openSimulationToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->logInToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->saveSimulationToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->closeToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->assignmentsToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->showAssignmentsToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->sToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->savingSettingsToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
			this->SimulationTabs = (gcnew System::Windows::Forms::TabControl());
			this->PageBball = (gcnew System::Windows::Forms::TabPage());
			this->numericUpDown3 = (gcnew System::Windows::Forms::NumericUpDown());
			this->numericUpDown2 = (gcnew System::Windows::Forms::NumericUpDown());
			this->numericUpDown1 = (gcnew System::Windows::Forms::NumericUpDown());
			this->label4 = (gcnew System::Windows::Forms::Label());
			this->label3 = (gcnew System::Windows::Forms::Label());
			this->label2 = (gcnew System::Windows::Forms::Label());
			this->BtnRunSimBball = (gcnew System::Windows::Forms::Button());
			this->tabPage2 = (gcnew System::Windows::Forms::TabPage());
			this->BtnRunSimTwoPoint = (gcnew System::Windows::Forms::Button());
			this->AssignmentPanel = (gcnew System::Windows::Forms::Panel());
			this->richTextBox1 = (gcnew System::Windows::Forms::RichTextBox());
			this->ComboBoxAssignments = (gcnew System::Windows::Forms::ComboBox());
			this->label1 = (gcnew System::Windows::Forms::Label());
			this->ResultsPanel = (gcnew System::Windows::Forms::Panel());
			this->ResultsTextBox = (gcnew System::Windows::Forms::RichTextBox());
			this->ResultsLabel = (gcnew System::Windows::Forms::Label());
			this->openFileDialog1 = (gcnew System::Windows::Forms::OpenFileDialog());
			this->saveFileDialog1 = (gcnew System::Windows::Forms::SaveFileDialog());
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->pictureBox1))->BeginInit();
			this->menuStrip1->SuspendLayout();
			this->SimulationTabs->SuspendLayout();
			this->PageBball->SuspendLayout();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->numericUpDown3))->BeginInit();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->numericUpDown2))->BeginInit();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->numericUpDown1))->BeginInit();
			this->tabPage2->SuspendLayout();
			this->AssignmentPanel->SuspendLayout();
			this->ResultsPanel->SuspendLayout();
			this->SuspendLayout();
			// 
			// pictureBox1
			// 
			this->pictureBox1->BackColor = System::Drawing::SystemColors::ButtonHighlight;
			this->pictureBox1->Location = System::Drawing::Point(12, 27);
			this->pictureBox1->Name = L"pictureBox1";
			this->pictureBox1->Size = System::Drawing::Size(745, 669);
			this->pictureBox1->TabIndex = 0;
			this->pictureBox1->TabStop = false;
			// 
			// menuStrip1
			// 
			this->menuStrip1->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(3) {this->fileToolStripMenuItem, 
				this->assignmentsToolStripMenuItem, this->sToolStripMenuItem});
			this->menuStrip1->Location = System::Drawing::Point(0, 0);
			this->menuStrip1->Name = L"menuStrip1";
			this->menuStrip1->Size = System::Drawing::Size(1240, 24);
			this->menuStrip1->TabIndex = 1;
			this->menuStrip1->Text = L"menuStrip1";
			// 
			// fileToolStripMenuItem
			// 
			this->fileToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(5) {this->newSimulationToolStripMenuItem, 
				this->openSimulationToolStripMenuItem, this->logInToolStripMenuItem, this->saveSimulationToolStripMenuItem, this->closeToolStripMenuItem});
			this->fileToolStripMenuItem->Name = L"fileToolStripMenuItem";
			this->fileToolStripMenuItem->Size = System::Drawing::Size(37, 20);
			this->fileToolStripMenuItem->Text = L"File";
			// 
			// newSimulationToolStripMenuItem
			// 
			this->newSimulationToolStripMenuItem->Name = L"newSimulationToolStripMenuItem";
			this->newSimulationToolStripMenuItem->Size = System::Drawing::Size(163, 22);
			this->newSimulationToolStripMenuItem->Text = L"New Simulation";
			this->newSimulationToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::newSimulationToolStripMenuItem_Click);
			// 
			// openSimulationToolStripMenuItem
			// 
			this->openSimulationToolStripMenuItem->Name = L"openSimulationToolStripMenuItem";
			this->openSimulationToolStripMenuItem->Size = System::Drawing::Size(163, 22);
			this->openSimulationToolStripMenuItem->Text = L"Open Simulation";
			this->openSimulationToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::openSimulationToolStripMenuItem_Click);
			// 
			// logInToolStripMenuItem
			// 
			this->logInToolStripMenuItem->Name = L"logInToolStripMenuItem";
			this->logInToolStripMenuItem->Size = System::Drawing::Size(163, 22);
			this->logInToolStripMenuItem->Text = L"Save Simulation";
			// 
			// saveSimulationToolStripMenuItem
			// 
			this->saveSimulationToolStripMenuItem->Name = L"saveSimulationToolStripMenuItem";
			this->saveSimulationToolStripMenuItem->Size = System::Drawing::Size(163, 22);
			this->saveSimulationToolStripMenuItem->Text = L"Login";
			this->saveSimulationToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::saveSimulationToolStripMenuItem_Click);
			// 
			// closeToolStripMenuItem
			// 
			this->closeToolStripMenuItem->Name = L"closeToolStripMenuItem";
			this->closeToolStripMenuItem->Size = System::Drawing::Size(163, 22);
			this->closeToolStripMenuItem->Text = L"Close";
			this->closeToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::closeToolStripMenuItem_Click);
			// 
			// assignmentsToolStripMenuItem
			// 
			this->assignmentsToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(1) {this->showAssignmentsToolStripMenuItem});
			this->assignmentsToolStripMenuItem->Name = L"assignmentsToolStripMenuItem";
			this->assignmentsToolStripMenuItem->Size = System::Drawing::Size(87, 20);
			this->assignmentsToolStripMenuItem->Text = L"Assignments";
			// 
			// showAssignmentsToolStripMenuItem
			// 
			this->showAssignmentsToolStripMenuItem->Name = L"showAssignmentsToolStripMenuItem";
			this->showAssignmentsToolStripMenuItem->Size = System::Drawing::Size(174, 22);
			this->showAssignmentsToolStripMenuItem->Text = L"Show Assignments";
			this->showAssignmentsToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::showAssignmentsToolStripMenuItem_Click);
			// 
			// sToolStripMenuItem
			// 
			this->sToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(1) {this->savingSettingsToolStripMenuItem});
			this->sToolStripMenuItem->Name = L"sToolStripMenuItem";
			this->sToolStripMenuItem->Size = System::Drawing::Size(61, 20);
			this->sToolStripMenuItem->Text = L"Settings";
			// 
			// savingSettingsToolStripMenuItem
			// 
			this->savingSettingsToolStripMenuItem->Name = L"savingSettingsToolStripMenuItem";
			this->savingSettingsToolStripMenuItem->Size = System::Drawing::Size(154, 22);
			this->savingSettingsToolStripMenuItem->Text = L"Saving Settings";
			// 
			// SimulationTabs
			// 
			this->SimulationTabs->Appearance = System::Windows::Forms::TabAppearance::Buttons;
			this->SimulationTabs->Controls->Add(this->PageBball);
			this->SimulationTabs->Controls->Add(this->tabPage2);
			this->SimulationTabs->Location = System::Drawing::Point(763, 27);
			this->SimulationTabs->Multiline = true;
			this->SimulationTabs->Name = L"SimulationTabs";
			this->SimulationTabs->SelectedIndex = 0;
			this->SimulationTabs->Size = System::Drawing::Size(465, 348);
			this->SimulationTabs->TabIndex = 2;
			// 
			// PageBball
			// 
			this->PageBball->BackColor = System::Drawing::Color::LightBlue;
			this->PageBball->BackgroundImageLayout = System::Windows::Forms::ImageLayout::None;
			this->PageBball->Controls->Add(this->numericUpDown3);
			this->PageBball->Controls->Add(this->numericUpDown2);
			this->PageBball->Controls->Add(this->numericUpDown1);
			this->PageBball->Controls->Add(this->label4);
			this->PageBball->Controls->Add(this->label3);
			this->PageBball->Controls->Add(this->label2);
			this->PageBball->Controls->Add(this->BtnRunSimBball);
			this->PageBball->Location = System::Drawing::Point(4, 25);
			this->PageBball->Name = L"PageBball";
			this->PageBball->Padding = System::Windows::Forms::Padding(3);
			this->PageBball->Size = System::Drawing::Size(457, 319);
			this->PageBball->TabIndex = 0;
			this->PageBball->Text = L"Bouncing Ball";
			// 
			// numericUpDown3
			// 
			this->numericUpDown3->DecimalPlaces = 3;
			this->numericUpDown3->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 18, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->numericUpDown3->Increment = System::Decimal(gcnew cli::array< System::Int32 >(4) {1, 0, 0, 65536});
			this->numericUpDown3->Location = System::Drawing::Point(254, 183);
			this->numericUpDown3->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {100000, 0, 0, 0});
			this->numericUpDown3->Name = L"numericUpDown3";
			this->numericUpDown3->Size = System::Drawing::Size(120, 35);
			this->numericUpDown3->TabIndex = 6;
			// 
			// numericUpDown2
			// 
			this->numericUpDown2->DecimalPlaces = 3;
			this->numericUpDown2->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 18, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->numericUpDown2->Increment = System::Decimal(gcnew cli::array< System::Int32 >(4) {1, 0, 0, 65536});
			this->numericUpDown2->Location = System::Drawing::Point(254, 35);
			this->numericUpDown2->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {100000, 0, 0, 0});
			this->numericUpDown2->Name = L"numericUpDown2";
			this->numericUpDown2->Size = System::Drawing::Size(120, 35);
			this->numericUpDown2->TabIndex = 5;
			// 
			// numericUpDown1
			// 
			this->numericUpDown1->DecimalPlaces = 3;
			this->numericUpDown1->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 18, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->numericUpDown1->Increment = System::Decimal(gcnew cli::array< System::Int32 >(4) {1, 0, 0, 65536});
			this->numericUpDown1->Location = System::Drawing::Point(254, 107);
			this->numericUpDown1->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) {100000, 0, 0, 0});
			this->numericUpDown1->Name = L"numericUpDown1";
			this->numericUpDown1->Size = System::Drawing::Size(120, 35);
			this->numericUpDown1->TabIndex = 4;
			// 
			// label4
			// 
			this->label4->AutoSize = true;
			this->label4->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 15.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->label4->Location = System::Drawing::Point(83, 188);
			this->label4->Name = L"label4";
			this->label4->Size = System::Drawing::Size(134, 25);
			this->label4->TabIndex = 3;
			this->label4->Text = L"Ball Height:";
			// 
			// label3
			// 
			this->label3->AutoSize = true;
			this->label3->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 15.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->label3->Location = System::Drawing::Point(65, 112);
			this->label3->Name = L"label3";
			this->label3->Size = System::Drawing::Size(152, 25);
			this->label3->TabIndex = 2;
			this->label3->Text = L"Ball Radious:";
			// 
			// label2
			// 
			this->label2->AutoSize = true;
			this->label2->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 15.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->label2->Location = System::Drawing::Point(95, 45);
			this->label2->Name = L"label2";
			this->label2->Size = System::Drawing::Size(122, 25);
			this->label2->TabIndex = 1;
			this->label2->Text = L"Ball Mass:";
			// 
			// BtnRunSimBball
			// 
			this->BtnRunSimBball->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->BtnRunSimBball->Location = System::Drawing::Point(36, 269);
			this->BtnRunSimBball->Name = L"BtnRunSimBball";
			this->BtnRunSimBball->Size = System::Drawing::Size(389, 47);
			this->BtnRunSimBball->TabIndex = 0;
			this->BtnRunSimBball->Text = L"Run Simulation";
			this->BtnRunSimBball->UseVisualStyleBackColor = true;
			this->BtnRunSimBball->Click += gcnew System::EventHandler(this, &Form1::BtnRunSimBball_Click);
			// 
			// tabPage2
			// 
			this->tabPage2->BackColor = System::Drawing::Color::LightBlue;
			this->tabPage2->Controls->Add(this->BtnRunSimTwoPoint);
			this->tabPage2->Location = System::Drawing::Point(4, 25);
			this->tabPage2->Name = L"tabPage2";
			this->tabPage2->Padding = System::Windows::Forms::Padding(3);
			this->tabPage2->Size = System::Drawing::Size(457, 319);
			this->tabPage2->TabIndex = 1;
			this->tabPage2->Text = L"2 Point Collisions";
			// 
			// BtnRunSimTwoPoint
			// 
			this->BtnRunSimTwoPoint->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->BtnRunSimTwoPoint->Location = System::Drawing::Point(36, 269);
			this->BtnRunSimTwoPoint->Name = L"BtnRunSimTwoPoint";
			this->BtnRunSimTwoPoint->Size = System::Drawing::Size(389, 47);
			this->BtnRunSimTwoPoint->TabIndex = 1;
			this->BtnRunSimTwoPoint->Text = L"Run Simulation";
			this->BtnRunSimTwoPoint->UseVisualStyleBackColor = true;
			// 
			// AssignmentPanel
			// 
			this->AssignmentPanel->BackColor = System::Drawing::Color::LightBlue;
			this->AssignmentPanel->Controls->Add(this->richTextBox1);
			this->AssignmentPanel->Controls->Add(this->ComboBoxAssignments);
			this->AssignmentPanel->Controls->Add(this->label1);
			this->AssignmentPanel->Enabled = false;
			this->AssignmentPanel->Location = System::Drawing::Point(767, 385);
			this->AssignmentPanel->Name = L"AssignmentPanel";
			this->AssignmentPanel->Size = System::Drawing::Size(462, 311);
			this->AssignmentPanel->TabIndex = 3;
			this->AssignmentPanel->Visible = false;
			// 
			// richTextBox1
			// 
			this->richTextBox1->Location = System::Drawing::Point(0, 30);
			this->richTextBox1->Name = L"richTextBox1";
			this->richTextBox1->Size = System::Drawing::Size(459, 278);
			this->richTextBox1->TabIndex = 2;
			this->richTextBox1->Text = L"";
			// 
			// ComboBoxAssignments
			// 
			this->ComboBoxAssignments->BackColor = System::Drawing::Color::White;
			this->ComboBoxAssignments->FormattingEnabled = true;
			this->ComboBoxAssignments->Location = System::Drawing::Point(138, 3);
			this->ComboBoxAssignments->Name = L"ComboBoxAssignments";
			this->ComboBoxAssignments->Size = System::Drawing::Size(319, 21);
			this->ComboBoxAssignments->TabIndex = 1;
			// 
			// label1
			// 
			this->label1->AutoSize = true;
			this->label1->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->label1->Location = System::Drawing::Point(3, 0);
			this->label1->Name = L"label1";
			this->label1->Size = System::Drawing::Size(129, 24);
			this->label1->TabIndex = 0;
			this->label1->Text = L"Assignments";
			// 
			// ResultsPanel
			// 
			this->ResultsPanel->Controls->Add(this->ResultsTextBox);
			this->ResultsPanel->Controls->Add(this->ResultsLabel);
			this->ResultsPanel->Enabled = false;
			this->ResultsPanel->Location = System::Drawing::Point(763, 385);
			this->ResultsPanel->Name = L"ResultsPanel";
			this->ResultsPanel->Size = System::Drawing::Size(482, 319);
			this->ResultsPanel->TabIndex = 3;
			// 
			// ResultsTextBox
			// 
			this->ResultsTextBox->BackColor = System::Drawing::Color::LightBlue;
			this->ResultsTextBox->BorderStyle = System::Windows::Forms::BorderStyle::None;
			this->ResultsTextBox->Location = System::Drawing::Point(0, 30);
			this->ResultsTextBox->Name = L"ResultsTextBox";
			this->ResultsTextBox->Size = System::Drawing::Size(465, 277);
			this->ResultsTextBox->TabIndex = 1;
			this->ResultsTextBox->Text = L"";
			// 
			// ResultsLabel
			// 
			this->ResultsLabel->AutoSize = true;
			this->ResultsLabel->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 15.75F, static_cast<System::Drawing::FontStyle>(((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic) 
				| System::Drawing::FontStyle::Underline)), System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
			this->ResultsLabel->Location = System::Drawing::Point(-5, 3);
			this->ResultsLabel->Name = L"ResultsLabel";
			this->ResultsLabel->Size = System::Drawing::Size(215, 25);
			this->ResultsLabel->TabIndex = 0;
			this->ResultsLabel->Text = L"Simulation Results:";
			// 
			// openFileDialog1
			// 
			this->openFileDialog1->FileName = L"openFileDialog1";
			// 
			// Form1
			// 
			this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
			this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
			this->BackColor = System::Drawing::Color::LightBlue;
			this->ClientSize = System::Drawing::Size(1240, 708);
			this->Controls->Add(this->ResultsPanel);
			this->Controls->Add(this->AssignmentPanel);
			this->Controls->Add(this->SimulationTabs);
			this->Controls->Add(this->pictureBox1);
			this->Controls->Add(this->menuStrip1);
			this->MainMenuStrip = this->menuStrip1;
			this->Name = L"Form1";
			this->Text = L"Bouncing Ball";
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->pictureBox1))->EndInit();
			this->menuStrip1->ResumeLayout(false);
			this->menuStrip1->PerformLayout();
			this->SimulationTabs->ResumeLayout(false);
			this->PageBball->ResumeLayout(false);
			this->PageBball->PerformLayout();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->numericUpDown3))->EndInit();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->numericUpDown2))->EndInit();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->numericUpDown1))->EndInit();
			this->tabPage2->ResumeLayout(false);
			this->AssignmentPanel->ResumeLayout(false);
			this->AssignmentPanel->PerformLayout();
			this->ResultsPanel->ResumeLayout(false);
			this->ResultsPanel->PerformLayout();
			this->ResumeLayout(false);
			this->PerformLayout();

		}
#pragma endregion
	private: System::Void textBox1_TextChanged(System::Object^  sender, System::EventArgs^  e) {			 }
private: System::Void newSimulationToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
			 AssignmentPanel->Visible=false;
			 ResultsPanel->Visible=false;
		 }
private: System::Void showAssignmentsToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
			 AssignmentPanel->Visible=true;

			 //Deactivate Results Panel if there is any up...
			 ResultsPanel->Visible = false;
			 ResultsPanel->Enabled=false;
			 AssignmentPanel->Enabled=true;
		 }
private: System::Void closeToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
			 
		 }
private: System::Void BtnRunSimBball_Click(System::Object^  sender, System::EventArgs^  e) {
			 //Functin for BallBounce Run Simulation Button...
			 //Devisualize the Assignments page...
			 AssignmentPanel->Visible=false;
			 AssignmentPanel->Enabled=false;
			 //Activate Results Panel...
			 ResultsPanel->Visible = true;
			 ResultsPanel->Enabled=true;
		 }
private: System::Void splitter1_SplitterMoved(System::Object^  sender, System::Windows::Forms::SplitterEventArgs^  e) {
		 }
private: System::Void openSimulationToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
			 openFileDialog1->ShowDialog();
		 }
private: System::Void saveSimulationToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
		 }
};
}

